package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.Intelligentmanagement.entity.AurgicalAssistantRelationEntity;
import com.hksj.Intelligentmanagement.vo.AurgicalAssistantRelationEntityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName SurgicalAssistantRelationMapper
 * @Description TODO
 * @Author @陈章
 * @Date 2023/3/31 17:32
 * @Version 1.0
 */
@Mapper
public interface SurgicalAssistantRelationMapper extends BaseMapper<AurgicalAssistantRelationEntity> {
     int addSurgicalAssistantRelation(@Param("surgicalInfoId") String surgicalInfoId, @Param("param")List<AurgicalAssistantRelationEntity> param);

     int saveOrUpdateBatch(@Param("list") List<AurgicalAssistantRelationEntity> list);

     List<AurgicalAssistantRelationEntityVo> surgicalAssistantRelation(String time);
}
